const Koa=require("koa")
const cors=require("koa-cors")
const bodyparser=require("koa-bodyparser")
const router=require("./router")
const app=new Koa()
app.use(cors())
router(app)
app.use(bodyparser())
app.listen(8888,()=>{
    console.log(8888);
})